﻿using huqiang.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;

namespace huqiang.Helper.HGUI
{
    public unsafe struct UIElementData
    {
        public Vector2 m_sizeDelta;
        public Vector2 Pivot;
        public ScaleType scaleType;
        public AnchorType anchorType;
        public AnchorPointType anchorPointType;
        public Vector2 anchorOffset;
        public MarginType marginType;
        public ParentType parentType;
        public Margin margin;
        public Core.UIData.HEventType eventType;
        public Core.UIData.CompositeType compositeType;
        public bool Mask;

        public static int Size = sizeof(UIElementData);
        public static int ElementSize = Size / 4;
    }
}
